let mongodb=require('mongoose')
mongodb.connect('mongodb://127.0.0.1:27017/db_1026')
let app=mongodb.connection
app.on('open',(req,res)=>{
    console.log('链接数据库成功');
})
module.exports=mongodb